require 'control.rb'   
include Control

def setup                
  size 200, 200  
  smooth
  noStroke
  fill 0
  slider :radius, 100, 0, 200  
  text_field :msg, 'hello'
  button :click      
  check_box :visible, true 
end

def draw        
  background 255
  ellipse 100, 100, radius, radius if visible
end                

def click
  puts msg
end